from django.conf.urls import url
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect, HttpResponseForbidden
from views import *
from django.contrib.staticfiles.urls import staticfiles_urlpatterns


def demo111(request):
	return HttpResponse('OK')


urlpatterns = [
			   url(r'^login',login,name='login'),
			   url(r'^page$',page,name='homepage'),
			   url(r'^$',demo111),
			   url(r'^demo/$',demo),
			   #url(r'^static/(?P.*),'django.views.static.serve,{'document_root': settings.STATIC_URL}),
			   ]
#urlpatterns += staticfiles_urlpatterns()
#	url(r'^(?P<slug>[\w./-]+)$',page,name='page'),
#	url(r'^demo/$',demo),
#	url(r'^$',page,name='homepage'),